import httpInstance from '@/utils/https.js'

// 获取折线图数据
export const getLineDataAPI = () => {
    return httpInstance({
        url: '/lineData/getData',
        method: 'GET'
    })
}

// 获取饼图数据
export const getPieDataAPI = () => {
    return httpInstance({
        url: '/order/pie',
        method: 'GET'
    })
}

// 获取仪表盘数据
export const getGaugeDataAPI = () => {
    return httpInstance({
        url: '/device/num',
        method: 'GET'
    })
}
